import intercept from '../utils/request'

// 注册接口
export const indexs = (data) => {
    return intercept({
        url: '/webapi/user/register',
        method: 'post',
        data
    })
}

// 注册上传图片
export const upload = (data) => {
    return intercept({
        url: '/webapi/index/upload',
        method: 'post',
        data
    })
}

// 用户信息接口
export const info = (data) => {
    return intercept({
        url: 'webapi/user/info',
        method: 'post',
        data
    })
}
